-- GENERATED SPELL FOR [Gan'arg Tinkerer] --


function spell0_17151(pUnit, Event) --@Power Burn,n/a--
pUnit:FullCastSpellOnTarget(32003,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17151', 637, 1)
end

function Sorts_17151(pUnit, Event)
local choix_sorts_17151 = math.random(0, 0)
if choix_sorts_17151 == 0 then
pUnit:RegisterEvent('spell0_17151', 1, 1)
end
end

function mob17151_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17151', math.random(1500, 3000), 1)
end

function mob17151_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17151_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17151_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17151, 1, 'mob17151_Action')
RegisterUnitEvent(17151, 2, 'mob17151_Leave')
RegisterUnitEvent(17151, 3, 'mob17151_Kill')
RegisterUnitEvent(17151, 4, 'mob17151_Die')
